// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick'
import "./assets/styles/reset.css"
import 'lib-flexible/flexible.js'
import "./assets/styles/border.css"
import global from "./utils/globalData"
import store from './store'//引入store
import ScratchCard from 'vue-scratch-card0'
import axios from 'axios'
import VueAxios from 'vue-axios'
import 'swiper/dist/css/swiper.css'
import VueJsonp from 'vue-jsonp'
import md5 from 'js-md5';


Vue.use(VueJsonp)
Vue.use(VueAxios,axios);
Vue.use(ScratchCard)


Vue.prototype.$md5 = md5;
Vue.prototype.global = global
Vue.config.productionTip = false
fastClick.attach(document.body)



/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})